<template>
	<view class="container-root">
		<view class='setting-item-layout' hover-class='setting-item-hover' hover-stay-time='50' @tap='onPasswordSetting'>
		    <view>修改登录密码</view>
		    <image class='setting-right-image' src='/static/images/right.png'></image>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		onLoad(){
			uni.setNavigationBarTitle({
				title:"设置",
			})
		},
		methods: {
			onPasswordSetting(){
				uni.navigateTo({
					url: './setting-password/setting-password?passwordType=0',
				})
			}
		}
	}
</script>

<style>
	page{
		background-color: #F1F1F1;
	}
	.setting-item-layout{
		width: calc(100% - 20rpx);
		height: 90rpx;
		background-color: white;
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		padding: 0rpx 0rpx 0rpx 20rpx;
		margin-top: 20rpx;
	}
	.setting-right-image{
		width: 40rpx;
		height: 40rpx;
		margin-right: 20rpx;
	}
	.setting-item-hover{
	  background-color: #e3e3e5;
	}
</style>
